﻿using AutoMapper;
using S.Y.Passport.Domain.溯源;
using S.Y.Passport.Read.API.Applications.Commands;

namespace S.Y.Passport.Read.API
{
    public class AutoMapperFilePro : Profile
    {
        public AutoMapperFilePro()
        {
            CreateMap<GoodsAddCommand, GoodsInfo>().ReverseMap();
            CreateMap<GoodsUpdateCommand, GoodsInfo>().ReverseMap();
            CreateMap<GoodsDelCommand, GoodsInfo>().ReverseMap();
        }
    }
}
